package course.c2;

import org.apache.commons.lang3.StringUtils;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

	public static void main(String[] args) {
		
		System.out.println("this is the course 2.");
		System.out.println(StringUtils.isEmpty(""));
		
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("context.xml");
		
		System.out.println(ctx.getBean("abcd"));
		
		ctx.close();

	}

}
